package com.mango.http.action;

import com.mango.http.DataSet;
import com.mango.http.ParaSet;
import com.mango.http.R;
import com.mango.http.ReqKey;

@ReqKey(value="/demo")
public class DemoAction {
	
	public DataSet sayHello(ParaSet ps){
		System.out.println(ps.toString());
		return R.html("public/1.html");
	}
	
	public DataSet post(ParaSet ps){
		System.out.println(ps.toString());
		return R.json();
	}
	
}
